package br.ufpe.cin.mac.parser;

public class XComponent {

	/**
	 * ID = Canonical Name 
	 * Name = Short Name
	 */
	
	public static final String tagName = "Component";
	
	private String id, name;

	public XComponent(String id, String name){
		setId(id);
		setName(name);
	}

	public String getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	private void setName(String name){
		if( name!= null) {
			this.name = name;
		}
	}
	
	private void setId(String id){
		if( id != null) {
			this.id = id;
		}
	}
	
}
